import { Decimal } from "../../types/mod";
import { Runtime } from "./napi/napi.cjs";

export * from "./napi/napi.cjs";

const testMode = process.env.NODE_ENV === "test";

export const RT = new Runtime({
  testMode,
  typeConstructors: {
    decimal: (val: string | number | bigint) => new Decimal(val)
  }
});
